#! /bin/bash
. ./common.sh

# https://ohmybash.nntoan.com/

if ! command -v bash >/dev/null 2>&1; then
    info "not installed bash, will install it now!"
    si bash
fi

info "install oh-my-bash"
rm -rf ~/oh-my-bash
git clone https://gitee.com/oh-my-shell/oh-my-bash.git ~/oh-my-bash
bash ~/oh-my-bash/tools/install.sh
rm -rf ~/oh-my-bash
